﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace GuidGeneratorWPF
{
    /// <summary>
    /// Interaction logic for GuidGeneratorOptionsWindow.xaml
    /// </summary>
    public partial class GuidGeneratorWindow : Window
    {
        public GuidGeneratorWindow()
        {
            InitializeComponent();

            this.guidGeneratorControl.TitleBar.Visibility = System.Windows.Visibility.Collapsed;
            this.guidGeneratorControl.Border.BorderThickness = new Thickness(0);
            this.guidGeneratorControl.Border.CornerRadius = new CornerRadius(0);
        }

		  private void Window_KeyDown(object sender, KeyEventArgs e)
		  {
			  switch (e.Key)
			  {
				  case Key.Escape:
					  this.Close();
					  break;
			  }
		  }
    }
}
